package com.example.flashsales.entity.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商家实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Store {

  //商家id
  private long id;
  //商家名称
  private String name;
  //商家地址
  private String address;

  //商家密码
  private String password;
  //拉人数
  private int userCount;
  //联系人电话
  private String phone;

  //店家状态0正常 1不能使用
  private int state;
  //余额
  private double money;
  //订单数
  private int orderCount;
  //拉一个人的金额
  private double userMoney;
  //一单的金额
  private double orderMoney;

  //邀请码
  private String InviteCode;


}
